namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// 码表 - 指令状态
    /// </summary>
    public DbSet<POCodeTaskCmdStatus> CodeTaskCmdStatuss { get; set; }
}

/// <summary>
/// 码表 - 指令状态
/// 表[code_task_cmd_status]
/// </summary>
[Table("code_task_cmd_status")]
public class POCodeTaskCmdStatus
{
    /// <summary>
    /// 主键，通过雪花算法生成
    /// 主键[code_task_cmd_status.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public int? Id { get; set; }
    /// <summary>
    /// 名称
    /// [code_task_cmd_status.code_name)]
    /// </summary>
    [Column("code_name")]
    public string CodeName { get; set; }
    /// <summary>
    /// 说明
    /// [code_task_cmd_status.remark)]
    /// </summary>
    [Column("remark")]
    public string Remark { get; set; }
    /// <summary>
    /// 创建时间
    /// [code_task_cmd_status.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [code_task_cmd_status.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [code_task_cmd_status.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
}
